﻿//********************************************************************************//
//创建日期：<创建日期，2010-08-02>
//创建作者：<王一飞，wangyifei@shanghai3h.com>
//功能说明：YS_JX_JUXINXBLL层
//********************************************************************************//
namespace BLL
{
    using Access;
    public class YS_JX_JUXINXBLL : YS_JX_JUXINXProcess
    {
        #region Field
        private string ConnectionString;
        #endregion
        #region Construction
        public YS_JX_JUXINXBLL()
        {
            ConnectionString = base.conn;
        }
        #endregion
        #region Method

        /// <summary>
        /// 按编号更新指定月的数据
        /// </summary>
        /// <param name="juxx"></param>
        /// <param name="leixing">null:更新本月下月 0:本月 1:下月</param>
        public void UpdateByLeixing(Entity.YS_JX_JUXINX juxx,int?leixing)
        {
            new SpHelper().P_UPDYS_JX_JUXINX(juxx.S_ZHANDIANBH,juxx.S_BIANHAO,juxx.S_MINGCHENG,juxx.S_DIZHI,juxx.S_YOUBIAN,juxx.S_LIANXIBM,juxx.S_LIANXIR,juxx.S_LIANXIDH,juxx.I_YEWUY
                                            , juxx.I_XIUGAIR, juxx.S_BEIZHU, juxx.I_JLZT, juxx.S_CAOZUOR, juxx.S_BEIYONG1, juxx.S_BEIYONG2, juxx.I_BEIYONG3, juxx.I_BEIYONG4, leixing);
        }

        #endregion
    }
}